package com.osilon;

import com.osilon.hooks.ChatCommand;

public class OsilonHandler {
	public static void handleChatCommand(ChatCommand o) {
		String command = o.getCommand();
		String[] data = command.split(" ", 2);
		
		String c = data[0];
		String args = data.length > 1 ? data[1] : null;
		
		Osilon.getPluginCache().process(o, c, args);
	}
}
